package com.example.springboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户角色关系表(UserRole)实体类
 *
 * @author makejava
 * @since 2023-10-30 16:19:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRole implements Serializable {
    private static final long serialVersionUID = 670294408428328532L;

    //编号
    private Long id;
    //用户编号
    private Long userId;
    //角色编号
    private Long roleId;
    //用户名
    private String userName;
    //角色名
    private String roleName;
}

